// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrchardHostContext.cs" company="Proligence">
//   Copyright (c) 2011 Proligence, All Rights Reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace Orchard.Management.PsProvider.Host 
{
    /// <summary>
    /// Represents Orchard session context.
    /// </summary>
    public class OrchardHostContext
    {
        /// <summary>
        /// Gets or sets the directory of the Orchard installation.
        /// </summary>
        public string OrchardDirectory { get; set; }

        /// <summary>
        /// Gets or sets the virtual path of the Orchard web application.
        /// </summary>
        public string VirtualPath { get; set; }

        /// <summary>
        /// Gets or sets the working directory of the Orchard web application.
        /// </summary>
        public string WorkingDirectory { get; set; }

        /// <summary>
        /// Gets or sets the result of the latest session start.
        /// </summary>
        public ReturnCode StartSessionResult { get; set; }

        /// <summary>
        /// Gets or sets the result of retrying the latest session start.
        /// </summary>
        public ReturnCode RetryResult { get; set; }

        /// <summary>
        /// Gets or sets the Orchard host instance.
        /// </summary>
        public OrchardHost OrchardHost { get; set; }
    }
}